package com.example.study.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.study.entity.Page;
import com.example.study.entity.Result;
import com.example.study.pojo.Menu;
import com.example.study.pojo.User;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 喜欢多云的季节
 * @since 2022-04-20
 */
public interface UserService extends IService<User> {

    Result select(Map<String, Object> params, Page page);

    Result delete(List<String> params);

    Result update(User user);

    Result insert(User user);

    void export( HttpServletResponse response);
    List<Menu> getMenu(String account);
    List<Map<String,Object>> menuTest(String account);
}
